#ifndef EEZ_LVGL_UI_SCREENS_H
#define EEZ_LVGL_UI_SCREENS_H

#include <lvgl/lvgl.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _objects_t {
    lv_obj_t *music_page;
    lv_obj_t *status_btn;
    lv_obj_t *pre_btn;
    lv_obj_t *pause_btn;
    lv_obj_t *next_btn;
    lv_obj_t *list_btn;
    lv_obj_t *music_slider;
    lv_obj_t *now_position_label;
    lv_obj_t *max_position_label;
    lv_obj_t *lyric_label;
    lv_obj_t *music_back_btn;
    lv_obj_t *music_title_label;
    lv_obj_t *volume_btn;
    lv_obj_t *volume_slider;
} objects_t;

extern objects_t objects;

enum ScreensEnum {
    SCREEN_ID_MUSIC_PAGE = 1,
};

void create_screen_music_page();
void tick_screen_music_page();

void tick_screen_by_id(enum ScreensEnum screenId);
void tick_screen(int screen_index);

void create_screens();


#ifdef __cplusplus
}
#endif

#endif /*EEZ_LVGL_UI_SCREENS_H*/